package com.fyl.principles.demo5;

public class Client {
    public static void main(String[] args) {
        //经纪人
        Agent agent = new Agent();
        //明星
        agent.setStar(new Star("林青霞"));
        //粉丝
        agent.setFans(new Fans("李四"));
        //媒体公司
        agent.setCompany(new Company("媒体公司"));

        agent.meeting();
        agent.business();

    }
}
